<?php
/**
 *@author Connor <caokang@foxmail.com>
 *@todo
 *@link www.zeevin.com
 */
class Upload extends CWidget{

	public function init(){
		if($this->statics==null){
			$path=dirname(__FILE__).DIRECTORY_SEPARATOR.'static';
			$this->statics=Yii::app()->getAssetManager()->publish($path);
		}
		
		parent::init();
	}
	public function run(){
		$this->render('upload',array('maxsize'=>1,));
		
	}
}
